#pragma once

class CMyWindow
{
private:
		HWND m_Handle;
		int m_ID;
public:
	CMyWindow(void);
public:
	~CMyWindow(void);
public:
	virtual BOOL Create(LPCTSTR lpszCaption,
						   DWORD dwStyle,
						   const RECT& rect,
						   HWND pParentWnd,
						   UINT nID);
	HWND GetHandle();
	int GetID();
	void SetHandle(HWND handle);
	void SetID(int nID);
public:
	LPCTSTR GetText(void);
public:
	void SetText(LPCTSTR sText);
};
